# Maintainer: Felix Yan <felixonmars@archlinux.org>

pkgname=sdedit
pkgver=4.2.1
pkgrel=1
pkgdesc="Lightweight sequence diagram editor"
arch=('any')
url="http://sdedit.sourceforge.net"
license=('BSD')
depends=('java-runtime' 'bash')
source=("http://downloads.sourceforge.net/project/sdedit/sdedit/4.2/$pkgname-$pkgver.jar"
        "sdedit.sh")
sha512sums=('7bb40e99eb8a2b7e23de589abb3d64644661bf4db26549becffd4822c78afd7c0c780021c2129aa8f684bbdb4ecb41e52eff21f607a78b21636f8b3f240999a2'
            'fdf94276d7e532b1dafe39a26305dfc9f5164ec6412366e136f95895e8678f65870f864e35ae63f5df119947dd47a9c7c1479f866f85f25fc174253b41e9f4bb')
noextract=("$pkgname-$_ver$_ver_download.jar")

package() {
  install -Dm755 sdedit.sh "$pkgdir"/usr/bin/sdedit
  install -Dm644 $pkgname-$pkgver.jar "$pkgdir"/usr/share/java/$pkgname/$pkgname.jar
}
